package us.quizgame.database;

public class Score
{
	private String name;
	private int score;
	private double time;
	
	public Score(String name, int score, double time)
	{
		super();
		this.name = name;
		this.score = score;
		this.time = time;
	}
	
	//Accessors/Mutators
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public int getScore()
	{
		return score;
	}
	public void setScore(int score)
	{
		this.score = score;
	}
	public double getTime()
	{
		return time;
	}
	public void setTime(double time)
	{
		this.time = time;
	}
	
	public String toString()
	{
		return String.format("Name:%s, Score: %s, Time: %s", name, score, time);
	}
}
